package com.aviation.sell_ticket.controller;

import com.aviation.sell_ticket.pojo.Aviation_article;
import com.aviation.sell_ticket.service.ArticleService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import java.util.Map;

@RestController
@RequestMapping("ArticleAction")
public class ArticleController {

    @Resource
    ArticleService ArticleService;


//    @PostMapping("articleSubmission")
//    public Map<String,Object> ArticleSubmission(Aviation_article article, HttpServletRequest request){
//
//        System.out.println(article.getContent());
//
//        return null;
//    }

}
